package com.hxy.org.mapper;

import com.hxy.basic.mapper.BaseMapper;
import com.hxy.org.domain.Employee;
import com.hxy.org.domain.Shop;
import com.hxy.org.query.EmployeeQuery;

import java.util.List;

/**
 * mapper接口
 */
public interface EmployeeMapper extends BaseMapper<Employee> {
    // 根据添加的员工修改对应的店铺id
    void updateShopId(Shop shop);
    // 根据账户信息查询
    Employee findByAccount(Employee admin);
    // 根据登录信息id查询用户
    Employee findByLoginInfoId(Long loginInfoId);
}
